//
//  MCStatusNormalCell.swift
//  HXWeibo
//
//  Created by HX on 15/12/6.
//  Copyright © 2015年 HX. All rights reserved.
//

import UIKit

/// 原创cell
class MCStatusNormalCell: MCStatusCell
{
    override func prepareUI()
    {
        super.prepareUI()
        
        /// 配图视图约束
        let cons = pictureView.ff_AlignVertical(type: ff_AlignType.BottomLeft, referView: contentLabel, size: CGSize(width: 290, height: 290), offset: CGPoint(x: 0, y: MCStatusCellMargin))

        // 获取配图视图的宽高约束
        pictureViewWidth = pictureView.ff_Constraint(cons, attribute: NSLayoutAttribute.Width)
        pictureViewHeight = pictureView.ff_Constraint(cons, attribute: NSLayoutAttribute.Height)
        
    }
    
}

































